function batchDel() {
    layer.confirm("删除后将不能恢复！确定批量删除选中的收/付款记录吗？<br>共[" + layui.data('checked').select_data.length + "]条？", function (index) {
        $.ajax({
            type: "POST",
            dataType: "json",
            url: batchDelUrl,
            data: {
            },
            success: function (data) {
                if (data.flag) {
                    dialog.msg(data.msg, 1);
                    setTimeout(function () {
                        window.location.reload();
                    }, 500);
                } else {
                    dialog.alert(data.msg);
                }
            }
        });
        layer.close(index);
    });
}